package com.wjw.lawofdemeter.law02;

/**
 * TODO: 描述
 *
 * @author ikaros
 * @date 2024/7/12 0:19
 * @see <a href="ikaros@qq.com">mailTo: ikaros@qq.com</a>
 */
public class Kun {
    public static void main(String[] args) {
        Kun kun = new Kun();
        Sound sound = new Sound();
        Staff staff = new Staff(sound);

        kun.needMusic(staff);
    }

    /**
     * music~
     *
     * @param staff 工作人员
     */
    public void needMusic(Staff staff) {
        System.out.println("坤哥:music~");
        staff.work();
    }
}
